﻿@model Coleotrack.Data.UserProfile
@using Coleotrack.Resources

@{
    ViewBag.Title = "Change profile";
}

@section Head {

}

@section SubMenu {

    @Html.Partial("SubMenu") 

}

<h1>Change profile</h1>
<div class="margin">
        @using (Html.BeginForm())
           {

           @Html.HiddenFor(m => m.Id)

           @Html.ValidationSummary(false, labels.ErrorsOccured)

           <br />

           <div class="label">
            @Html.LabelFor(m => m.FirstName, "First name")
            <p class="description">Type in your first name.</p>
           </div>

           <div class="input text">
            @Html.TextBoxFor(m => m.FirstName)
           </div>

           <br />

            <div class="label">
            @Html.LabelFor(m => m.LastName, "Last name")
            <p class="description">Type in your last name.</p>
           </div>

           <div class="input text">
            @Html.TextBoxFor(m => m.LastName)
           </div>

           <div class="commands">
            <div class="submit"><input type="submit" value="Submit" /></div>
            <div class="cancel">@Html.ActionLink("Cancel", "Index", "Home", new { area = "" }, null)</div>
           </div>
            }
</div>

